﻿<%@ Control Language="C#" AutoEventWireup="true" EnableViewState="false" Inherits="MPBlog.UserControls.ArticleListBase" %>
<%@ Import Namespace="MPBlog.Model" %>
<%@ Register TagPrefix="webdiyer" Namespace="Wuqi.Webdiyer" Assembly="AspNetPager, Version=7.3.2.0, Culture=neutral, PublicKeyToken=fb0a0fe055d40fd4" %>
<asp:Repeater runat="server" ID="rptArticleList">
    <ItemTemplate>
        <div class="post xfolkentry">
            <h2>
                <a href="ArticleDetail.aspx?articleId=<%# ((Article)(Container.DataItem)).Id %>" class="title">
                    <%#Server.HtmlEncode(((Article)(Container.DataItem)).Title)%></a></h2>
            <div class="info">
                <span class="date">
                    <%# ((Article)(Container.DataItem)).PublishTime.ToString("d. MMMM yyyy")%></span>
                <div class="act">
                    <span class="comments"><a rel="nofollow" href="#">浏览 (<%# ((Article)(Container.DataItem)).ReadCount %>)</a></span>
                    <span class="editpost">AdminLinks</span>
                    <div class="fixed">
                    </div>
                </div>
                <div class="fixed">
                </div>
            </div>
            <div class="content">
                <asp:PlaceHolder ID="BodyContent" runat="server" />
                Rating
                <p class="under">
                    <span class="categories">CategoryLinks</span> <span class="tags">TagLinks</span>
                </p>
                <div class="fixed">
                </div>
            </div>
        </div>
    </ItemTemplate>
</asp:Repeater>
<webdiyer:AspNetPager ID="aspNetArticlePager" runat="server" OnPageChanging="OnAspNetPagerPageChanging"
    CssClass="paginator" CurrentPageButtonClass="cpb" AlwaysShow="False" FirstPageText="首页"
    LastPageText="尾页" NextPageText="下一页" PrevPageText="上一页" ShowCustomInfoSection="Left"
    ShowInputBox="Never" CurrentPageButtonPosition="Center" UrlPaging="True" LayoutType="Table"
    CustomInfoHTML="第 %CurrentPageIndex% 页，共 %PageCount% 页" CustomInfoClass="paginatorCustomInfo">
</webdiyer:AspNetPager>
